package com.bdqn.systems.mapper;

import com.bdqn.systems.entity.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cp
 * @since 2020-11-30
 */
public interface DepartmentMapper extends BaseMapper<Department> {
    /**
     * 查找部门并计算人数数
     * @return DepartmentVo
     */
    List<Department> findDeptAndCount();
}
